package com.model.constant;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 常量类
 * @author seven
 */
@Data
public class Constant {
    /**
     * 描述符标识字段含义map
     * 如:B->byte
     */
    private static final Map<String,String> descriptorMap = new HashMap<String,String>(8);
    static {
        descriptorMap.put("B","byte");
        descriptorMap.put("C","char");
        descriptorMap.put("D","double");
        descriptorMap.put("F","float");
        descriptorMap.put("I","int");
        descriptorMap.put("J","long");
        descriptorMap.put("S","short");
        descriptorMap.put("Z","boolean");
        descriptorMap.put("V","void");
        descriptorMap.put("L","Object");
    }


    static {

    }

}
